package com.ly.cinema.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * BBS论坛-用户表-6
 * </p>
 *
 * @author LiaoYan
 * @since 2025-08-15
 */
@Getter
@Setter
@ToString
@TableName("tbl_user")
public class TblUser implements Serializable {

        private static final long serialVersionUID = 1L;

      /**
     * 编号, 自增列
     */
      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

      /**
     * 用户名
     */
      private String uname;

      /**
     * 密码
     */
      private String upass;

      /**
     * 头像图片地址
     */
      private String head;

      /**
     * 注册时间
     */
      private LocalDateTime regtime;

      /**
     * 性别: 1男,0女
     */
      private Integer gender;

      /**
     * 忘密问题1
     */
      private String q1;

      /**
     * 忘密问题答案1
     */
      private String a1;

      /**
     * 忘密问题2
     */
      private String q2;

      /**
     * 忘密问题答案2
     */
      private String a2;

      /**
     * 忘密问题3
     */
      private String q3;

      /**
     * 忘密问题答案3
     */
      private String a3;

      /**
     * 邮箱地址
     */
      private String email;

    private String role;
}
